#include "stddef.h"

typedef struct CBUFFER {
	unsigned char 	head;
	unsigned char 	tail;
	size_t			size;
	size_t			unit_size;
	void 			*pcbuffer;
} CBUFFER;


void cb_write (CBUFFER *pcb, const void *pd);

void *cb_read (CBUFFER *pcb);

//size_t getSize (CBUFFER *pcb);
